<?php
/**
 * Created by IDEA.
 * User: dinesh
 * Date: Apr 11, 2012
 * Time: 5:36:54 PM
 * To change this template use File | Settings | File Templates.
 */

class ProfileController extends BaseController {
    public function action() {
        $this->message = "controller message";
        $this->render('profile');
    }

    public function actionMain() {
        $this->render('main');
    }

    function  actionProfile() {
        $user = new User();
        $profile = $user->getProfile();
        $this->render('profile', array('profile' => $profile));
    }
}
